package com.jxbeidou.system.log.convert;

import com.jxbeidou.system.log.entity.LogOperateDO;
import com.jxbeidou.system.log.vo.LogOperateVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 操作日志表
*
* @author 杜晓祥 
* @since 1.0.0 2023-12-14
*/
@Mapper
public interface LogOperateConvert {
    LogOperateConvert INSTANCE = Mappers.getMapper(LogOperateConvert.class);

    LogOperateDO convert(LogOperateVO vo);

    LogOperateVO convert(LogOperateDO entity);

    List<LogOperateVO> convertList(List<LogOperateDO> list);

}